local extension = Package:new("shu")
extension.extensionName = "study"

extension:loadSkillSkelsByPath("./packages/study/pkg/shu/skills")

Fk:loadTranslationTable{
  ["shu"] = "蜀",
  ["gai"] = "改",
}

local liubei = General:new(extension, "gai__liubei", "shu", 4)
liubei:addSkills { "mou__rende", "ofl_mou__zhangwu", "ol_ex__jijiang" }

Fk:loadTranslationTable{
  ["gai__liubei"] = "谋刘备",

  ["~gai__liubei"] = "朕躬德薄，望吾儿切勿效之……",
}

local guansuo = General:new(extension, "gai__guansuo", "shu", 4)
guansuo:addSkills { "gai__zhengnan", "xiefang" }
guansuo:addRelatedSkills { "ex__wusheng", "ol_ex__dangxian", "ty_ex__zhiman" }

Fk:loadTranslationTable{
    ["gai__guansuo"] = "关索",

    ["$gai__zhengnan1"] = "索全凭丞相差遣，万死不辞！",
    ["$gai__zhengnan2"] = "末将愿承父志，随丞相出征！",
    ["$ex__wusheng_gai__guansuo"] = "逆贼，可识得关氏之勇？",
    ["$ol_ex__dangxian_gai__guansuo"] = "各位将军，且让小辈先行出战！",
    ["$ty_ex__zhiman_gai__guansuo"] = "蛮夷可抚，不可剿！",
    ["~gai__guansuo"] = "只恨天下未平，空留遗志。",
}

local baosanniang = General:new(extension, "gai__baosanniang", "shu", 3, 3, General.Female)
baosanniang:addSkills { "gai__wuniang", "ol__zhennan", "gai__xushen" }

Fk:loadTranslationTable{
  ["gai__baosanniang"] = "鲍三娘",

  ["$gai__xushen1"] = "救命之恩，涌泉相报。",
  ["$gai__xushen2"] = "解我危难，报君华彩。",
  ["~gai__baosanniang"] = "我还想与你，共骑这雪花驹……",
}

local maliang = General:new(extension, "gai__maliang", "shu", 3)
maliang:addSkills { "gai__zishu", "ol__yingyuan" }

Fk:loadTranslationTable{
  ["gai__maliang"] = "马良",

  ["~gai__maliang"] = "此生行忠守义，已无愧我心。",
  ["!gai__maliang"] = "良与主公一道，志为兴汉奋身！",
}

local yangwan = General:new(extension, "gai__yangwan", "shu", 3, 3, General.Female)
yangwan.subkingdom = "qun"
yangwan:addSkills { "gai__youyan", "zhuihuan" }

Fk:loadTranslationTable{
  ["gai__yangwan"] = "杨婉",

  ["$gai__youyan1"] = "诱言者，为人所不齿。",
  ["$gai__youyan2"] = "诱言之弊，不可不慎。",
  ["~gai__yangwan"] = "遇人不淑……",
}

local zhaoxiang = General:new(extension, "gai__zhaoxiang","shu",4,4,General.Female)
zhaoxiang:addSkills { "ty__fanghun", "gai__fuhan" }

Fk:loadTranslationTable{
  ["gai__zhaoxiang"] = "赵襄",

  ["$ty__fanghun_gai__zhaoxiang1"] = "凝傲雪之梅为魄，英魂长存，独耀山河万古明！",
  ["$ty__fanghun_gai__zhaoxiang2"] = "铸凌霜之寒成剑，青锋出鞘，斩尽天下不臣贼！",
  ["~gai__zhaoxiang"] = "世受国恩，今当以身殉国。",
}

local guanping = General:new(extension, "gai__guanping", "shu", 4)
guanping:addSkills {"gai__longyin", "gai__jiezhong" }

Fk:loadTranslationTable{
  ["gai__guanping"] = "界关平",

  ["$gai__jiezhong1"] = "犯我疆土者，竭忠尽节以灭之。",
  ["$gai__jiezhong2"] = "竭力尽能以立功于国，忠心不二。",
  ["~gai__guanping"] = "黄泉路远，儿愿为父亲牵马执鞭……",
}

local xujing = General:new(extension, "gai__xujing", "shu", 3)
xujing:addSkills { "yuxu", "shijian", "gai__caixia" }

Fk:loadTranslationTable{
  ["gai__xujing"] = "许靖",

  ["$gai__caixia1"] = "吾习扫天下之术，不善净一屋之秽。",
  ["$gai__caixia2"] = "玉有十色五光，微瑕难掩其瑜。",
  ["~gai__xujing"] = "时人如江鲫，所逐者功利尔……",
}

local xushu = General:new(extension, "gai__xushu", "shu", 4)
xushu:addSkills { "gai__zhuhai", "ty_ex__qianxin" }
xushu:addRelatedSkills { "ty_ex__jianyan" }

Fk:loadTranslationTable{
  ["gai__xushu"] = "界徐庶",

  ["$gai__zhuhai1"] = "霜刃出鞘，诛恶方还。",
  ["$gai__zhuhai2"] = "心有不平，拔剑相向。",
  ["~gai__xushu"] = "忠孝之德，庶两者皆空。",
}

local weiyan = General:new(extension, "gai__weiyan", "shu", 4)
weiyan:addSkills { "gai__zhuangshi", "yinzhan", "gai__zhongao" }
weiyan:addRelatedSkills { "m_shi__kuanggu", "kunfen" }
Fk:loadTranslationTable{
  ["gai__weiyan"] = "势魏延",

  ["$kunfen_gai__weiyan1"] = "身承主公深信，岂可为小挫所扰。",
  ["$kunfen_gai__weiyan2"] = "前路既艰，更须倍道而行！",
  ["~gai__weiyan"] = "志为大汉献身，纵死又有何恨？",
  ["!gai__weiyan"] = "延一腔赤血，终不负主公之恩。",
}

local weiyan2 = General:new(extension, "gai2__weiyan", "shu", 4)
weiyan2:addSkills { "gai__zhuangshi", "yinzhan", "gai__zhongao" }
weiyan2:addRelatedSkills { "m_shi__kuanggu" }
weiyan2.total_hidden = true
Fk:loadTranslationTable{
  ["gai2__weiyan"] = "势魏延",

  ["gai2"] = "改",

  ["~gai2__weiyan"] = "战死沙场固为快事，且待来生看大汉兴复……",
  ["!gai2__weiyan"] = "陛下！丞相！奇谋功毕，主公之望已是垂成！",
}

local weiyan3 = General:new(extension, "gai3__weiyan", "shu", 4)
weiyan3:addSkills { "gai__zhuangshi", "yinzhan", "gai__zhongao" }
weiyan3:addRelatedSkills { "m_shi__kuanggu", "kunfen" }
weiyan3.total_hidden = true
Fk:loadTranslationTable{
  ["gai3__weiyan"] = "势魏延",

  ["gai3"] = "改",

  ["$kunfen_gai3__weiyan1"] = "身承主公深信，岂可为小挫所扰。",
  ["$kunfen_gai3__weiyan2"] = "前路既艰，更须倍道而行！",
  ["~gai3__weiyan"] = "无怨小人构陷，只恨主公雄志未成……",
  ["!gai3__weiyan"] = "主公、丞相虽殁，魏延尚在，又岂容魏贼猖獗。",
}

local zhaoyun = General:new(extension, "gai__zhaoyun", "shu", 4)
zhaoyun:addSkills { "gai__longdan", "mou__jizhu" }

Fk:loadTranslationTable{
  ["gai__zhaoyun"] = "谋赵云",

  ["~gai__zhaoyun"] = "汉室兴衰浮沉事，犹待末将来生行。",
}

local chenshou = General:new(extension, "gai__chenshou", "shu", 3)
chenshou.subkingdom = "jin"
chenshou:addSkills { "chenzhi", "gai__dianmo", "zaibi" }

Fk:loadTranslationTable{
  ["gai__chenshou"] = "陈寿",
}

local dongyun = General:new(extension, "gai__dongyun", "shu", 3)
dongyun:addSkills { "gai__bingzheng", "sheyan" }
Fk:loadTranslationTable{
  ["gai__dongyun"] = "董允",

  ["~gai__dongyun"] = "大汉，要亡于宦官之手了……",
}

local xiahouba = General:new(extension, "gai__xiahouba", "shu", 4)
xiahouba:addSkills { "gai__baobian" }
xiahouba:addRelatedSkills { "ofl_mou__tiaoxin", "ex__paoxiao", "ol_ex__shensu" }

Fk:loadTranslationTable{
  ["gai__xiahouba"] = "夏侯霸",

  ["$ofl_mou__tiaoxin_gai__xiahouba1"] = "本将军不与无名之辈相战！",
  ["$ofl_mou__tiaoxin_gai__xiahouba2"] = "尔等无名小辈，怎入本将军法眼？",
  ["$ex__paoxiao_gai__xiahouba1"] = "吾岂容尔等小觑？",
  ["$ex__paoxiao_gai__xiahouba2"] = "杀，杀他个片甲不留！",
  ["$ol_ex__shensu_gai__xiahouba1"] = "兵贵神速，机不可失！",
  ["$ol_ex__shensu_gai__xiahouba2"] = "兵之情主速！",
  ["~gai__xiahouba"] = "明敌易防，暗箭难躲……",
}

local guanyinping = General:new(extension, "gai__guanyinping", "shu", 4, 4, General.Female)
guanyinping:addSkills { "yinmou", "gai__quchi" }

Fk:loadTranslationTable{
  ["gai__guanyinping"] = "关银屏",
}

local wangtaowangyue = General:new(extension, "gai__wangtaowangyue", "shu", 3, 3, General.Female)
wangtaowangyue:addSkills { "huguan", "yaopei", "gai__mingluan" }

Fk:loadTranslationTable{
  ["gai__wangtaowangyue"] = "王桃王悦",
}

local masu = General:new(extension, "gai__masu", "shu", 3)
masu:addSkills { "ol__sanyao", "gai__xinzhan", "ty_ex__zhiman" }

Fk:loadTranslationTable{
  ["gai__masu"] = "马谡",

  ["~gai__masu"] = "悔不听王平之言，铸此大错……",
}

return extension